<?php
/**
 * User Model
 *
 * @author Nexik
 */
class Model_User
{
  // properties
  protected $_id;
  protected $_login;
  protected $_firstname;
  protected $_lastname;
  protected $_password;
  protected $_email;
  protected $_active;

  public function __constuct();

  // setters and getters
  public function __get($name);
  public function __set($name, $value);

  public function getLogin();
  public function setLogin($value);

  public function getFirstname();
  public function setFirstname($value);

  public function getLastname();
  public function setLastname($value);

  public function getPassword();
  public function setPassword($value);

  public function getEmail();
  public function setEmail($value);
  
  public function getId();

  // methods
  public function save();
}